package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DictCoefficientDao;
import io.renren.entity.DictCoefficientEntity;
import io.renren.service.DictCoefficientService;



@Service("dictCoefficientService")
public class DictCoefficientServiceImpl implements DictCoefficientService {
	@Autowired
	private DictCoefficientDao dictCoefficientDao;
	
	@Override
	public DictCoefficientEntity queryObject(String id){
		return dictCoefficientDao.queryObject(id);
	}
	
	@Override
	public List<DictCoefficientEntity> queryList(Map<String, Object> map){
		return dictCoefficientDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dictCoefficientDao.queryTotal(map);
	}
	
	@Override
	public void save(DictCoefficientEntity dictCoefficient){
		dictCoefficientDao.save(dictCoefficient);
	}
	
	@Override
	public void update(DictCoefficientEntity dictCoefficient){
		dictCoefficientDao.update(dictCoefficient);
	}
	
	@Override
	public void delete(String id){
		dictCoefficientDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dictCoefficientDao.deleteBatch(ids);
	}
	
}
